import request from '@/utils/request'

export function login(data) {
  return request({
    url: '/backup/web/login',
    method: 'post',
    data
  })
}

export function getInfo() {
  return request({
    url: '/backup/web/get_user_info',
    method: 'get'
  })
}
export function geButtonbyMenu(params) {
  return request({
    url: '/backup/web/get_button_by_menu',
    method: 'get',
    params
  })
}

